package com.dabai.iot.core.tsl;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 物模型TSL
 *
 * @author kev1n
 */
@Data
public class TslBean implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @JSONField(ordinal = 1)
    private String version;

    @JSONField(ordinal = 2)
    private String productKey;

    @JSONField(ordinal = 3)
    private List<TslBlock> blocks = new ArrayList<>();

}
